def hi():
    print("hihi..")
    while True:
        n = 5
        n2 = yield n
        print("n2:", n2)  # 为None，说明yield不返回任何值。


g = hi()
while (1):
    print("6" * 10)
    print("yield返回值", next(g))
